﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Layouts/Form.Master" CodeBehind="DataDictionaryItemEdit.aspx.cs" Inherits="Bingosoft.WebApp.Modules.DataDictionary.DataDictionaryItemEdit" %>
<asp:Content ContentPlaceHolderID="head" ID="idFormTitle" runat="server">
    <title><%=Request["title"]%></title>
</asp:Content>
<asp:Content ContentPlaceHolderID="Content" ID="idFormMain" runat="server">
    <div id="container" runat="server">      
        <asp:TextBox ID='Id' runat='server' Name="Id" Width='60%' Visible="false"></asp:TextBox>
        <asp:TextBox ID='DictionaryId' runat='server' Name="DictionaryId" Width='60%' Visible="false"></asp:TextBox>
        <asp:TextBox ID='Status' runat='server' Name="Status" Width='60%' Visible="false"></asp:TextBox>
        <table cellpadding='2' cellspacing='1' width='100%' class="formitem">
            <caption><%=Request["title"]%></caption>
            <tr>
                <th>                        
                    文本:<font color='red'>*<ont>
                </th>
                <td>
                        <asp:TextBox ID='Text' runat='server' Name="Text" Width='90%' MaxLength="30"
                        validator="required,length[1,30]"></asp:TextBox>                        
                </td>
            </tr>
            <tr>
                <th>
                    编码:<font color='red'>*<ont>
                </th>
                <td>
                    <asp:TextBox ID='Code' runat='server' Name="Code" Width='90%' MaxLength="20"
                        validator="required,length[1,20]"></asp:TextBox>
                    <br />注：编码必须在当前数据字典中唯一。
                </td>
            </tr>   
            <tr>
                <th>
                    排序号:<font color='red'>*<ont>
                </th>
                <td>
                    <asp:TextBox ID='OrderId' runat='server' Name="OrderId" Width='90%' MaxLength="5"
                        validator="required,integer,length[1,5]"></asp:TextBox>
                </td>
            </tr>   
            <tr>
                <th>                        
                    描述:
                </th>
                <td>
                    <asp:TextBox TextMode="MultiLine" Rows="5" Columns="50"  ID="Description" runat="server" Name="Description"  Width='90%'></asp:TextBox>                        
                </td>
            </tr>                              
        </table>
    </div>
    <!-- 页脚区域 -->
	<div class="footer">
		<asp:Button ID="Button1" runat="server" Text="确定" 
            OnClientClick="return validateForm();" onclick="Save"/>        
        <asp:Button ID="CloseButton2" runat="server" Text="关闭" OnClientClick="return closeForm();" />        
	</div>
</asp:Content>